home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJLSR106.ARJ / MAKEFILE.N < prev    next >
Text File  |  1992-04-08  |  1KB  |  63 lines

  1. # This file is generated from maketmpl by mm.c
  2. # This is file Maketmpl
  3. #
  4. # Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  5. #
  6. # This file is distributed under the terms listed in the document
  7. # "copying.dj", available from DJ Delorie at the address above.
  8. # A copy of "copying.dj" should accompany this file; if not, a copy
  9. # should be available from where this file was obtained.  This file
  10. # may not be distributed without a verbatim copy of "copying.dj".
  11. #
  12. # This file is distributed WITHOUT ANY WARRANTY; without even the implied
  13. # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15.  
  16. # History:4,12
  17. # Makefile for libpc.a
  18. #
  19. # This makefile is set up for use with NDMAKE
  20. #
  21.  
  22. VPATH=.;src
  23.  
  24. ENDOFLIST=
  25.  
  26. CFLAGS = -O
  27.  
  28. LIB=..\..\lib
  29.  
  30. .S.o :
  31.     gcc $(PG) $(CFLAGS) -c $(<D)/$(<F) -o $(ODIR)/$(@F)
  32.  
  33. .c.o :
  34.     gcc $(PG) $(CFLAGS) -c $(<D)/$(<F) -o $(ODIR)/$(@F)
  35.  
  36. .cc.o :
  37.     gcc $(PG) $(CFLAGS) -c $(<D)/$(<F) -o $(ODIR)/$(@F)
  38.  
  39. OBJS = \
  40.     $(ODIR)/gppconio.o \
  41.     $(ODIR)/screen.o \
  42.     $(ODIR)/sound.o \
  43.     $(ODIR)/coninit.o \
  44.     $(ODIR)/inportb.o \
  45.     $(ODIR)/inportl.o \
  46.     $(ODIR)/inportsb.o \
  47.     $(ODIR)/inportsl.o \
  48.     $(ODIR)/inportsw.o \
  49.     $(ODIR)/inportw.o \
  50.     $(ODIR)/outportb.o \
  51.     $(ODIR)/outportl.o \
  52.     $(ODIR)/outportw.o \
  53.     $(ODIR)/outprtsb.o \
  54.     $(ODIR)/outprtsl.o \
  55.     $(ODIR)/outprtsw.o \
  56.     $(ODIR)/screen2.o \
  57.     $(ENDOFLIST)
  58.  
  59. $(LIB)\libpc$(PS).a : $(OBJS)
  60.     -del $@
  61.     @>lib$(PS).rf $(OBJS)
  62.     ar rs $@ @lib$(PS).rf
  63.